package com.yz.model.entity.pay;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * <p>
 * User:Mr.Du
 * Date:2024/3/27
 * Time:14:40
 */
@Builder
@Data
@TableName("pay_flow")
public class PayFlow {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long uid;

    private Long outTradeNo;

    private Float totalAmount;

    private String subject;

    private String tradeStatus;

    private boolean paySuccess;

    private LocalDateTime createTime;

    private LocalDateTime finishTime;
}
